package com.lyubia.shop.api.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
*
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin implements Serializable {

    /**
     * t_admin
     */
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Short adminId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * email
     */
    private String email;

    /**
     * 密码
     */
    private String password;

    /**
     * 秘钥
     */
    private String ecSalt;

    /**
     * 添加时间
     */
    private Integer addTime;

    /**
     * 最后登录时间
     */
    private Integer lastLogin;

    /**
     * 最后登录ip
     */
    private String lastIp;

    /**
     * lang_type
     */
    private String langType;

    /**
     * agency_id
     */
    private Short agencyId;

    /**
     * suppliers_id
     */
    private Short suppliersId;

    /**
     * 角色id
     */
    private Short roleId;


}
